import data_loader
import sentiment_caculate
import forecast

number = input("请输入股票代码：")
# data_loader.getdata(number)  # 爬取股票评论
ave = sentiment_caculate.caculate(number)  # 计算情绪值，并返回平均值
print("预测明日的收盘股价为：")
print(forecast.predict(ave, number))
